package cn.csc.module.distribute.controller.admin.order.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.LocalDateTime;

/**
 * 分销订单记录 Excel VO
 *
 * @author liuchuang
 */
@Data
public class DistributeOrderExcelVO {

    @ExcelProperty("主键ID")
    private BigInteger id;


    @ExcelProperty("订单ID")
    private BigInteger orderId;

    @ExcelProperty("订单子项ID")
    private BigInteger orderItemId;
    @ExcelProperty("产品名称")
    private String spuName;

    @ExcelProperty("sku名称")
    private String skuName;

//    @ExcelProperty("产品主图片路径")
//    private String pic;

    @ExcelProperty("产品价格")
    private BigDecimal price;

    @ExcelProperty("支付金额")
    private BigDecimal totalAmount;
    @ExcelProperty("佣金")
    private BigDecimal totalCommission;

    @ExcelProperty("购买用户")
    private String childId;

    @ExcelProperty("用户手机")
    private String memberPhone;
    @ExcelProperty("订单类型 0普通订单，1采购商订单")
    private Integer orderType;
    @ExcelProperty("支付时间")
    private LocalDateTime payTime;
    @ExcelProperty("订单状态")
    private Integer orderStatus;
    @ExcelProperty("分销员用户ID")
    private Long userId;
    @ExcelProperty("所属分销人姓名")
    private String parentName;
    @ExcelProperty("分销人手机号")
    private String parentMobile;


}
